package genericObject;

import pointAndLine.Point;
import returnTypes.Size;

public class GenericObject {
	
		private String name = null;
		private Size objectSize = null;
		private Point center = null;
		private int capitation = 'X'; 
		private boolean added=false;
		
		public GenericObject(String name) {
			this.name = name;
		}		

		public GenericObject(String name, Size objectSize) {
			this.name = name;
			this.objectSize = objectSize;
		}
		
		public GenericObject(GenericObject object)
		{
			this.name = object.name;
			this.objectSize = object.objectSize;

		}		

		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public Size getObjectSize() {
			return objectSize;
		}
		public void setObjectSize(Size objectSize) {
			this.objectSize = objectSize;
		}
		public Point getCenter() {
			return center;
		}
		public void setCenter(Point center) {
			this.center = center;
		}

		public void setCapitation(int capitation) {
			this.capitation = capitation;
		}

		public int getCapitation() {
			return capitation;
		}

		public void setAdded(boolean added) {
			this.added = added;
		}

		public boolean isAdded() {
			return added;
		}

}
